import BasePath from "../config";

const orderList = {
    path: `${BasePath}/billing-review/order-list`,
    name: 'order-list',
    component: () => import('@/views/home/finace-money/billing-review/order-list.vue'),
    meta: {
        keepAlive: false
    }
}
const onlinePay = {
    path: `${BasePath}/billing-review/online-pay`,
    name: 'online-pay',
    component: () => import('@/views/home/finace-money/billing-review/online-pay.vue'),
    meta: {
        keepAlive: false
    }
}
const sceneConfig = {
    path: `${BasePath}/billing-review/scene-config`,
    name: 'scene-config',
    component: () => import('@/views/home/finace-money/billing-review/scene-config.vue'),
    meta: {
        keepAlive: false
    }
}
export default {
    path: `${BasePath}/billing-review/order-list`,
	name: 'billingReview',
    redirect:`${BasePath}/billing-review/order-list`,
    component: () => import('@/views/home/finace-money/billing-review/tab-control.vue'),
    meta: {
        // tabs:[
        //     { label: '积分订单', name: 'order-list', component: ()=>import('@/views/home/finace-money/billing-review/order-list.vue')},
        //     { label: '支付记录', name: 'online-pay', component: ()=>import('@/views/home/finace-money/billing-review/online-pay.vue')},
        //     { label: '场景配置', name: 'scene-config', component: ()=>import('@/views/home/finace-money/billing-review/scene-config.vue')},
        // ],
        keepAlive: false
    },
    children: [
        orderList,
        sceneConfig,
        onlinePay
    ]
}

